i = 0
sum = 0
while i<=100:
    sum += i
    i += 1
print(sum)

'''
j = 1
while j < 6:
    print("*" * j)
    j += 1
'''
print("========================")
k = 1
m = 4
while k <=5:
    if m>=1:
        print(" "*m,end="")
        m -= 1
    print(" *"*k)
    k+=1



a = 1
while a <= 9:
    b = 1
    while b <= a:
        print('%d *%d =%-5d'%(a,b,a*b),end="")
        b+=1
    print()
    a += 1

import random
#for 循环是 左闭右开
random.randint(2,5) #左右都是闭区间

# 项目全局搜索 两下shift
# 本文件中搜索 ctrl+f
while True:
    pass # TODO 便签



